package com.jeesite.modules.home.dao;

import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.exam.score.vo.DcSupExamQuotaOrgVo;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * 督办首页DAO接口
 * @author xhc
 * @version 2022-06-24
 */
@MyBatisDao
public interface DcMenuStaticsDao  {

    Integer queryTaskConfirmCount(Integer currentYear, String officeCode);

    Integer queryTaskDetailConfirmCount(Integer currentYear, String officeCode);

    Integer queryTaskReceiveCount(Integer currentYear, String officeCode);

    Integer taskAgencyCount(Integer currentYear, String userCode, String officeCode);

    Integer taskDeployAuditCount(Integer currentYear, String userCode);

    Integer taskFeedBackAuditCount(Integer currentYear, String userCode);

    Integer taskDetailAuditCount(Integer currentYear, String userCode);

    Integer taskArrangAuditCount(Integer currentYear, String userCode);

    Integer taskExplainCount(Integer currentYear, String userCode);

    /**
     * 通过用户编码查询其所属机构
     * @param userCode
     * @return
     */
    List<String> getUserOffices(String userCode);

    Integer reportOfKeyIndicators(Integer currentYear, String noticeType, String noticeStatus, String userCode);

    List<Map<String,String>> keyIndexScore(Integer currentYear,String quotaGroup, String userCode);
    List<Map<String,String>> keyIndexScore2(String quotaGroup, String userCode);

    List<Map<String,String>> scoreInfos(Integer currentYear,String scopeType, String userCode);
    List<Map<String,String>> scoreInfos2(String scopeType, String userCode);

    Integer indicatorsOfAudit(Integer currentYear,String quotaGroup, String userCode);

    Integer countXiZe(Integer currentYear, String userCode);

    List<Map<String, String>> exameSendOrgListData(Integer currentYear,String type);

    List<Map<String, String>> exameOrgListData(Integer currentYear);

    Integer queryBacklogCount(String userCode,String backlogType2);

    List<Map<String, Object>> getbacklogGroupCount(String userCode);
}
